package com.kamistoat.meimeimall.common.taskEngine;

/**
 * 执行器执行任务异常，是放弃执行还是重新投递
 */
public enum FailedStrategyEnum {
    ABORT(0,"放弃执行"),
    REPOST(1,"重新投递");

    private Integer code;
    private String msg;

    FailedStrategyEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
